<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <style>
        body{
            margin-bottom:50px;
        }
        .page-title{
            background: #ffffff none repeat scroll 0 0;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.05);
            clear: both;
            height: 43px;
            line-height:43px;
            padding: 0 20px;
        }
    </style>
    <div class="page-title">
        一般設置
    </div>
    <div id="container" class="container">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div class="panel panel-default">
                <div class="panel-heading">
                    即時告警設置
                </div>
                <div contenteditable="true" class="panel-body">
                    <div>
                        <p style="text-align: center;"><span style="font-size: 16px;">裝置代號: &nbsp;授W &nbsp; 裝置名稱: 授信總機 控制&nbsp; &nbsp; &nbsp;類型:&nbsp;<span style="color: rgb(51, 51, 51); ">一般設備W</span></span> </p>
                    </div>
                </div>
            </div>

            <div class="row base row-fluid clearfix">
                <div class="col-md-12">
                    <div class="form-group">
                        <label for="36403-0" class="col-xs-2 control-label">告警開關</label>
                        <div class="col-xs-10">
                            <div class="radio">
                                <label for="36403-0"> <input type="radio" class="radio" value="1" id="36403-0" name="warning_switch" checked="checked" />開</label>
                            </div>
                            <div class="radio">
                                <label for="36403-1"> <input type="radio" class="radio" value="2" id="36403-1" name="warning_switch" />關</label>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="135674-0" class="col-xs-2 control-label">報警時間</label>
                        <div class="col-xs-10">
                            <div class="radio">
                                <label for="135674-0"> <input type="radio" class="radio" value="1" id="135674-0" name="warning_type" checked="checked" />發生就報警</label>
                            </div>
                            <div class="radio">
                                <label for="135674-1"> <input type="radio" class="radio" value="2" id="135674-1" name="warning_type" />延遲報警</label>
                            </div>
                        </div>
                    </div>
                    <div class="row base row-fluid clearfix">
                        <div class="col-md-12">
                            <div>
                            </div>
                        </div>
                    </div>
                    <div class="row base row-fluid clearfix">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label class="col-xs-2 control-label">告警狀態</label>
                                <div class="col-xs-10">
                                    <select class="form-control select" placeholder="输入字段预期值的提示信息" name="warning_status" id="407281"> <option value="1" selected="selected">離線</option> <option value="2">在線</option>  </select>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row base row-fluid clearfix">
                <div class="col-md-12">
                    <div>
                    </div>
                    <div class="form-group">
                        <label for="429556" class="col-xs-2 control-label">延遲時間</label>
                        <div class="col-xs-10">
                            <input placeholder="請輸入延遲報警時間(分鐘)" name="delay_time" id="429556" type="text" class="form-control text" />
                        </div>
                    </div>
                </div>
            </div>
            <div class="row base row-fluid clearfix">
                <div class="col-md-12">
                    <div>
                    </div>
                    <div class="form-group">
                        <label  class="col-xs-2 control-label">重複報警</label>
                        <div class="col-xs-10">
                            <input placeholder="請輸入重複報警時間(小時後)" name="replay_time" id="112652" type="text" class="form-control text" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
